package com.eusoft.demo_project.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Car {

    private int aid;
    private String plate_code;  //车牌号
    private String brand;       //品牌
    private int type_id;        //车辆类型
    private String type_name;   //车辆类型名称
    private int state_id;       //状态id
    private String state_name;  //状态名称
    private int approved_num;   //核载人数
    private String memo;        //备注
    private Date time_add;      //创建时间
    private Date time_update_last;  //最后更新时间

    //数据表中不存在的字段，查询用
    private int user_num;
    private List<Integer> userList;
}
